package com.zpark.utills;

import java.util.Locale;
import java.util.UUID;

public class StringUtils {
    public static String getSuffixName(String name){
        //b.jpg
        return name.substring(name.lastIndexOf("."));
    }
    public static String randomFileName(){
        return UUID.randomUUID().toString().replace("-","").toLowerCase(Locale.ROOT);
    }
}
